from PySide2.QtCore import Qt

from MW import MW

from PySide2.QtWidgets import QMainWindow, QApplication, QPushButton
import sys

if __name__ == '__main__':
    app = QApplication(sys.argv)
    mainWindow = QMainWindow()
    mainWindow.setWindowFlags(Qt.SubWindow)
    ui = MW()
    ui.setupUi(mainWindow)
    ui.AddListeners()
    # ui.AddMyLabel()
    mainWindow.show()
    sys.exit(app.exec_())

